package com.hx.zhg.constant;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @description: 日志常量类，此类所定义的常量都具有业务含义，需要进行特殊的日志收集处理
 */
public class LOG {

    /**
     * 异常处理，一般只在BaseController和BaseAjaxController中使用
     */
    public static final Logger EXCEPTION_LOG = LoggerFactory.getLogger("exception");

    /**
     * 非法请求日志
     */
    public static final Logger INVALID_REQUEST_LOG = LoggerFactory.getLogger("invalid_request");

    /**
     * request log
     */
    public static final Logger REQUEST_LOG = LoggerFactory.getLogger("request_log");

    /**
     * spider log
     */
    public static final Logger SPIDER_LOG = LoggerFactory.getLogger("spider_log");


}
